package org.hd.sidemenu.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface SideMenuDao {

    /***
     * 获取所有的按钮列表
     * @param username
     * @return
     */
    List<Map<String,String>> getMenus(@Param("username") String username);



}
